package com.jumi.microservice.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jumi.microservice.enums.CommonEnum;
import com.jumi.microservice.enums.Level;
import com.jumi.microservice.enums.SexEnum;
import com.jumi.microservice.enums.Status;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 会员表
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-07-14
 */
@ApiModel(value = "JmUser对象", description = "会员表")
public class JmUser implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    @Alias("userId")
    private Integer id;

    private String name;

    private String truename;

    private String mobile;

    private String avatar;

    private SexEnum sex;

    private LocalDate birthday;

    private String passwd;

    private String paypwd;

    private String email;

    private String qq;

    private String signature;

    private LocalDateTime loginTime;

    private String loginIp;

    private Status status;

    private LocalDateTime registerTime;

    private String weixinUnionid;

    private String wxOpenid;

    private String iosSignId;

    private Integer points;

    private BigDecimal availablePredeposit;

    private BigDecimal freezePredeposit;

    private Integer growthvalue;

    private String province;

    private String city;

    private String area;

    private String provinceId;

    private String cityId;

    private String areaId;

    private Level level;

    private Level originLevel;

    private Integer inviterId;

    /**
     * 邀请码
     */
    private String code;

    private LocalDateTime lastLevelUpTime;

    private CommonEnum isJumi;

    private String certificate;

    private CommonEnum allowAuthorize;

    private CommonEnum allowLogin;

    private CommonEnum allowBuy;

    private CommonEnum allowReport;

    private CommonEnum isRealnameAuthentication;

    private CommonEnum isIdentityAuthentication;

    private String model;

    private String lastLoginModel;

    private String client;

    private String lastLoginClient;


    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    private String wechatNum;

    private String qrWeixinImg;

    public String getQrweixinimg() {
        return qrWeixinImg;
    }

    public void setQrweixinimg(String qrweixinimg) {
        this.qrWeixinImg = qrweixinimg;
    }

    public String getLastLoginClient() {
        return lastLoginClient;
    }

    public void setLastLoginClient(String lastLoginClient) {
        this.lastLoginClient = lastLoginClient;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLastLoginModel() {
        return lastLoginModel;
    }

    public void setLastLoginModel(String lastLoginModel) {
        this.lastLoginModel = lastLoginModel;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getWechatNum() {
        return wechatNum;
    }

    public void setWechatNum(String wechatNum) {
        this.wechatNum = wechatNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getPaypwd() {
        return paypwd;
    }

    public void setPaypwd(String paypwd) {
        this.paypwd = paypwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public LocalDateTime getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(LocalDateTime registerTime) {
        this.registerTime = registerTime;
    }

    public String getWeixinUnionid() {
        return weixinUnionid;
    }

    public void setWeixinUnionid(String weixinUnionid) {
        this.weixinUnionid = weixinUnionid;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getIosSignId() {
        return iosSignId;
    }

    public void setIosSignId(String iosSignId) {
        this.iosSignId = iosSignId;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public BigDecimal getAvailablePredeposit() {
        return availablePredeposit;
    }

    public void setAvailablePredeposit(BigDecimal availablePredeposit) {
        this.availablePredeposit = availablePredeposit;
    }

    public BigDecimal getFreezePredeposit() {
        return freezePredeposit;
    }

    public void setFreezePredeposit(BigDecimal freezePredeposit) {
        this.freezePredeposit = freezePredeposit;
    }

    public Integer getGrowthvalue() {
        return growthvalue;
    }

    public void setGrowthvalue(Integer growthvalue) {
        this.growthvalue = growthvalue;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }

    public Level getOriginLevel() {
        return originLevel;
    }

    public void setOriginLevel(Level originLevel) {
        this.originLevel = originLevel;
    }

    public Integer getInviterId() {
        return inviterId;
    }

    public void setInviterId(Integer inviterId) {
        this.inviterId = inviterId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public LocalDateTime getLastLevelUpTime() {
        return lastLevelUpTime;
    }

    public void setLastLevelUpTime(LocalDateTime lastLevelUpTime) {
        this.lastLevelUpTime = lastLevelUpTime;
    }

    public CommonEnum getIsJumi() {
        return isJumi;
    }

    public void setIsJumi(CommonEnum isJumi) {
        this.isJumi = isJumi;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public CommonEnum getAllowAuthorize() {
        return allowAuthorize;
    }

    public void setAllowAuthorize(CommonEnum allowAuthorize) {
        this.allowAuthorize = allowAuthorize;
    }

    public CommonEnum getAllowLogin() {
        return allowLogin;
    }

    public void setAllowLogin(CommonEnum allowLogin) {
        this.allowLogin = allowLogin;
    }

    public CommonEnum getAllowBuy() {
        return allowBuy;
    }

    public void setAllowBuy(CommonEnum allowBuy) {
        this.allowBuy = allowBuy;
    }

    public CommonEnum getAllowReport() {
        return allowReport;
    }

    public void setAllowReport(CommonEnum allowReport) {
        this.allowReport = allowReport;
    }

    public CommonEnum getIsRealnameAuthentication() {
        return isRealnameAuthentication;
    }

    public void setIsRealnameAuthentication(CommonEnum isRealnameAuthentication) {
        this.isRealnameAuthentication = isRealnameAuthentication;
    }

    public CommonEnum getIsIdentityAuthentication() {
        return isIdentityAuthentication;
    }

    public void setIsIdentityAuthentication(CommonEnum isIdentityAuthentication) {
        this.isIdentityAuthentication = isIdentityAuthentication;
    }


    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
